//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.neurosky.thinkgear;

import com.neurosky.thinkgear.TGHrv;

public class TGHrvArray {
    private TGHrv a = new TGHrv();

    public TGHrvArray() {
    }

    public void reset() {
        this.a.Reset();
    }

    public void reset(double var1) {
        this.a.Reset(var1);
    }

    public int[] processArray(int[] var1) {
        int var3 = 0;
        int[] var4 = new int['\uea60'];

        for(int var5 = 0; var5 < var1.length; ++var5) {
            if(this.a.AddData(var1[var5]) > 0) {
                var4[var3] = var5;
                ++var3;
            }
        }

        int[] var6 = new int[var3];
        System.arraycopy(var4, 0, var6, 0, var3);
        return var6;
    }
}
